import m from './messages'

const MyComponent = {};

MyComponent.install = function (Vue) {
  //安装组件
  // Vue.component("vEditor", () => import('./form/Editor'));
  //封装了element的message
  Vue.prototype.$message = m;
}

Object.deepCopy = function (src) {
  return JSON.parse(JSON.stringify(src));
}

export default MyComponent;
